package com.itheima.homework.test1;

public class Dog extends Animal implements Sports {
    @Override
    public void speak(String str) {
        System.out.println("我去玩了!");
    }

    public Dog(String 旺财) {
        System.out.print("旺财");
    }
    public void goPlay(){
        speak("我去玩了");
        swimming();


    }
}
